package com.googlecode.continuity.plugin.project.client;

import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.ui.SuggestOracle;
import com.googlecode.continuity.plugin.svnbrowser.client.ReadSVNException;
import com.googlecode.continuity.plugin.svnbrowser.client.SVNRepositoryHandle;

/**
 * ProjectRPC
 *
 * @author Peter Schmitt <aragos@aragos.de>
 */
public interface ProjectRPC extends RemoteService {
  void storeProject(Project project);

  void createProject(Project project);

  Project getProjectById(int id);

  SVNRepositoryHandle getRepositoryHandle(int projectID) throws ReadSVNException;

  void addMilestone(int projectID, int milestoneID);

  List findMilestones(String search);
}
